package test66;

import java.util.SortedMap;

public class Car {
    private String brand;
    private String color;
    private Day d;

    public Car() {
    }

    public Car(String brand, String color, Day d) {
        this.brand = brand;
        this.color = color;
        this.d = d;

    }



    public String getBrand() {
        return brand;
    }


    public void setBrand(String brand) {
        this.brand = brand;
    }


    public String getColor() {
        return color;
    }


    public void setColor(String color) {
        this.color = color;
    }


    public Day getD() {
        return  new Day(d);

    }


    public void setD(Day d) {
        this.d = d;
    }



}
